package com.htj.erp.model.jpa;

import com.htj.erp.model.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 
 *
 * 
 * POrder
 * p_order
 *
 * chenghongtao
 * 2016-11-05 21:03:20
 * HTJ
 * @version 1.0.0
 *
 */
@Entity
@Table(name = "p_order")
public class POrder extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	
	/**
	*订单编号
	*/
	@Column(name = "order_code")
	private String orderCode;
	/**
	*产品ID
	*/
	@Column(name = "product_id")
	private Long productId;
	/**
	*产品名称
	*/
	@Column(name = "product_name")
	private String productName;
	/**
	*数量
	*/
	@Column(name = "product_num")
	private Long productNum;
	/**
	*单价
	*/
	@Column(name = "unit_price")
	private Float unitPrice;
	/**
	*总价
	*/
	@Column(name = "total_price")
	private Float totalPrice;
	/**
	*单位
	*/
	@Column(name = "unit")
	private String unit;
	/**
	*客户ID
	*/
	@Column(name = "cus_id")
	private Long cusId;
	/**
	*客户名称
	*/
	@Column(name = "cus_name")
	private String cusName;
	/**
	*运费
	*/
	@Column(name = "freight")
	private Float freight;
	/**
	*调整金额
	*/
	@Column(name = "discount_price")
	private Float discountPrice;
	/**
	*最终单价
	*/
	@Column(name = "finnal_unit_price")
	private Float finnalUnitPrice;
	/**
	*实付金额
	*/
	@Column(name = "finnal_price")
	private Float finnalPrice;
	/**
	*订单日期
	*/
	@Column(name = "order_time")
	private Date orderTime;
	/**
	*收货日期
	*/
	@Column(name = "recv_date")
	private Date recvDate;
	/**
	*remark
	*/
	@Column(name = "remark")
	private String remark;
	/**
	*仓库
	*/
	@Column(name = "depot")
	private String depot;
	/**
	*状态
	*/
	@Column(name = "STATUS")
	private Integer status;
	
	/**
	 * 预计到货日期
	 */
	@Column(name = "exp_recv_date")
	private Date expRecvDate;
	
	/**
	 * 预计到货备注
	 */
	@Column(name = "exp_recv_remark")
	private String expRecvRemark;
	
	/**
	* 获取 订单编号
	*/
	public String getOrderCode(){
		return orderCode;
	}
	
	/**
	*设置 订单编号
	*/
	public void setOrderCode(String orderCode){
		this.orderCode = orderCode;
	}
	/**
	* 获取 产品ID
	*/
	public Long getProductId(){
		return productId;
	}
	
	/**
	*设置 产品ID
	*/
	public void setProductId(Long productId){
		this.productId = productId;
	}
	/**
	* 获取 产品名称
	*/
	public String getProductName(){
		return productName;
	}
	
	/**
	*设置 产品名称
	*/
	public void setProductName(String productName){
		this.productName = productName;
	}
	/**
	* 获取 数量
	*/
	public Long getProductNum(){
		return productNum;
	}
	
	/**
	*设置 数量
	*/
	public void setProductNum(Long productNum){
		this.productNum = productNum;
	}
	/**
	* 获取 单价
	*/
	public Float getUnitPrice(){
		return unitPrice;
	}
	
	/**
	*设置 单价
	*/
	public void setUnitPrice(Float unitPrice){
		this.unitPrice = unitPrice;
	}
	/**
	* 获取 总价
	*/
	public Float getTotalPrice(){
		return totalPrice;
	}
	
	/**
	*设置 总价
	*/
	public void setTotalPrice(Float totalPrice){
		this.totalPrice = totalPrice;
	}
	/**
	* 获取 单位
	*/
	public String getUnit(){
		return unit;
	}
	
	/**
	*设置 单位
	*/
	public void setUnit(String unit){
		this.unit = unit;
	}
	/**
	* 获取 客户ID
	*/
	public Long getCusId(){
		return cusId;
	}
	
	/**
	*设置 客户ID
	*/
	public void setCusId(Long cusId){
		this.cusId = cusId;
	}
	/**
	* 获取 客户名称
	*/
	public String getCusName(){
		return cusName;
	}
	
	/**
	*设置 客户名称
	*/
	public void setCusName(String cusName){
		this.cusName = cusName;
	}
	/**
	* 获取 运费
	*/
	public Float getFreight(){
		return freight;
	}
	
	/**
	*设置 运费
	*/
	public void setFreight(Float freight){
		this.freight = freight;
	}
	/**
	* 获取 调整金额
	*/
	public Float getDiscountPrice(){
		return discountPrice;
	}
	
	/**
	*设置 调整金额
	*/
	public void setDiscountPrice(Float discountPrice){
		this.discountPrice = discountPrice;
	}
	/**
	* 获取 最终单价
	*/
	public Float getFinnalUnitPrice(){
		return finnalUnitPrice;
	}
	
	/**
	*设置 最终单价
	*/
	public void setFinnalUnitPrice(Float finnalUnitPrice){
		this.finnalUnitPrice = finnalUnitPrice;
	}
	/**
	* 获取 实付金额
	*/
	public Float getFinnalPrice(){
		return finnalPrice;
	}
	
	/**
	*设置 实付金额
	*/
	public void setFinnalPrice(Float finnalPrice){
		this.finnalPrice = finnalPrice;
	}
	/**
	* 获取 订单日期
	*/
	public Date getOrderTime(){
		return orderTime;
	}
	
	/**
	*设置 订单日期
	*/
	public void setOrderTime(Date orderTime){
		this.orderTime = orderTime;
	}
	/**
	* 获取 收货日期
	*/
	public Date getRecvDate(){
		return recvDate;
	}
	
	/**
	*设置 收货日期
	*/
	public void setRecvDate(Date recvDate){
		this.recvDate = recvDate;
	}
	/**
	* 获取 remark
	*/
	public String getRemark(){
		return remark;
	}
	
	/**
	*设置 remark
	*/
	public void setRemark(String remark){
		this.remark = remark;
	}
	/**
	* 获取 仓库
	*/
	public String getDepot(){
		return depot;
	}
	
	/**
	*设置 仓库
	*/
	public void setDepot(String depot){
		this.depot = depot;
	}
	/**
	* 获取 状态
	*/
	public Integer getStatus(){
		return status;
	}
	
	/**
	*设置 状态
	*/
	public void setStatus(Integer status){
		this.status = status;
	}

	public Date getExpRecvDate() {
		return expRecvDate;
	}

	public void setExpRecvDate(Date expRecvDate) {
		this.expRecvDate = expRecvDate;
	}

	public String getExpRecvRemark() {
		return expRecvRemark;
	}

	public void setExpRecvRemark(String expRecvRemark) {
		this.expRecvRemark = expRecvRemark;
	}
	
}